/*
 * Project: com.mmall.pay.api.constant
 *
 * File Created at 2019-10-28
 *
 * Copyright 2019 CMCC Corporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * ZYHY Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license.
 */
package com.mmall.pay.api.constant;

/**
 * @author jianghucoding
 * @date 2019-10-28
 */
public enum PayStatus {

    // 新申请，等待付款完成
    WAIT(0),

    // 付款完成
    SUCCESS(1),

    // 付款失败
    FAILED(-1);

    private int code;

    PayStatus(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }
}
